package com.yxy.service;

import com.yxy.common.IBaseService;
import com.yxy.entity.SportDynamic;

import java.util.List;


/**
 *
 * SportDynamicService服务service
 *
 * @version
 * <pre>
 * Author	    Bruce Version		Date		    Changes
 * 邓文俊    1.0         2018-01-11 16:43:07	 	Created       Created
 *
 * </pre>
 * @since 1.
 */
public interface SportDynamicService extends IBaseService<SportDynamic> {





    /**
     * 批量删除数据
     * @param list
     * @return 删除结果
     */
    public boolean deleteAll(List<SportDynamic> list);



    /**
     * 添加多条数据
     * @param list
     * @return
     */
    public boolean addBatch(List<SportDynamic> list);

    /**
     * 模糊查询
     * @param sportDynamic
     * @return
     */
    public List<SportDynamic> findLikeList(SportDynamic sportDynamic);

    //分页查询
   List<SportDynamic> findPage(Integer pageNum,Integer pageSize);

   boolean SportDynamicDoLike(Integer userId,Integer sportDynamicId);

   List<SportDynamic> selectMySportDynamic(Integer userId);

}
